package com.yeyks.service;

import com.yeyks.dal.domain.SmsHistory;
import com.yeyks.dal.domain.SmsHistory;

/**
 * @Author fuchangshuai
 * @date 2019/3/27 2:34 PM
 */
public interface SmsHistoryService {

    /**
     * 新增并返回主键id
     *
     * @param smsHistory
     * @return
     */
    Integer insertSelective(SmsHistory smsHistory);

    /**
     * 通过手机号和描述插入数据
     *
     * @param phone
     * @param desc
     * @return
     */
    Integer insertByPhoneDesc(String phone, String desc, String code);
}
